Optimal. Leaf size=182 \[ \frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{8 b d^2 n \sqrt{d+e x^2}}{15 e^3}+\frac{8 b d^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{15 e^3}+\frac{7 b d n \left (d+e x^2\right )^{3/2}}{45 e^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.228303, antiderivative size = 182, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {266, 43, 2350, 12, 1251, 897, 1261, 208} \[ \frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{8 b d^2 n \sqrt{d+e x^2}}{15 e^3}+\frac{8 b d^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{15 e^3}+\frac{7 b d n \left (d+e x^2\right )^{3/2}}{45 e^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 43
Rule 2350
Rule 12
Rule 1251
Rule 897
Rule 1261
Rule 208
Rubi steps
\begin{align*} \int \frac{x^5 \left (a+b \log \left (c x^n\right )\right )}{\sqrt{d+e x^2}} \, dx &=\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-(b n) \int \frac{\sqrt{d+e x^2} \left (8 d^2-4 d e x^2+3 e^2 x^4\right )}{15 e^3 x} \, dx\\ &=\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{(b n) \int \frac{\sqrt{d+e x^2} \left (8 d^2-4 d e x^2+3 e^2 x^4\right )}{x} \, dx}{15 e^3}\\ &=\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{(b n) \operatorname{Subst}\left (\int \frac{\sqrt{d+e x} \left (8 d^2-4 d e x+3 e^2 x^2\right )}{x} \, dx,x,x^2\right )}{30 e^3}\\ &=\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{(b n) \operatorname{Subst}\left (\int \frac{x^2 \left (15 d^2-10 d x^2+3 x^4\right )}{-\frac{d}{e}+\frac{x^2}{e}} \, dx,x,\sqrt{d+e x^2}\right )}{15 e^4}\\ &=\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{(b n) \operatorname{Subst}\left (\int \left (8 d^2 e-7 d e x^2+3 e x^4+\frac{8 d^3}{-\frac{d}{e}+\frac{x^2}{e}}\right ) \, dx,x,\sqrt{d+e x^2}\right )}{15 e^4}\\ &=-\frac{8 b d^2 n \sqrt{d+e x^2}}{15 e^3}+\frac{7 b d n \left (d+e x^2\right )^{3/2}}{45 e^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 e^3}+\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}-\frac{\left (8 b d^3 n\right ) \operatorname{Subst}\left (\int \frac{1}{-\frac{d}{e}+\frac{x^2}{e}} \, dx,x,\sqrt{d+e x^2}\right )}{15 e^4}\\ &=-\frac{8 b d^2 n \sqrt{d+e x^2}}{15 e^3}+\frac{7 b d n \left (d+e x^2\right )^{3/2}}{45 e^3}-\frac{b n \left (d+e x^2\right )^{5/2}}{25 e^3}+\frac{8 b d^{5/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{15 e^3}+\frac{d^2 \sqrt{d+e x^2} \left (a+b \log \left (c x^n\right )\right )}{e^3}-\frac{2 d \left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{3 e^3}+\frac{\left (d+e x^2\right )^{5/2} \left (a+b \log \left (c x^n\right )\right )}{5 e^3}\\ \end{align*}
Mathematica [A] time = 0.190928, size = 204, normalized size = 1.12 \[ \frac{120 a d^2 \sqrt{d+e x^2}+45 a e^2 x^4 \sqrt{d+e x^2}-60 a d e x^2 \sqrt{d+e x^2}+15 b \sqrt{d+e x^2} \left (8 d^2-4 d e x^2+3 e^2 x^4\right ) \log \left (c x^n\right )-94 b d^2 n \sqrt{d+e x^2}+120 b d^{5/2} n \log \left (\sqrt{d} \sqrt{d+e x^2}+d\right )-120 b d^{5/2} n \log (x)-9 b e^2 n x^4 \sqrt{d+e x^2}+17 b d e n x^2 \sqrt{d+e x^2}}{225 e^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.434, size = 0, normalized size = 0. \begin{align*} \int{{x}^{5} \left ( a+b\ln \left ( c{x}^{n} \right ) \right ){\frac{1}{\sqrt{e{x}^{2}+d}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.57755, size = 764, normalized size = 4.2 \begin{align*} \left [\frac{60 \, b d^{\frac{5}{2}} n \log \left (-\frac{e x^{2} + 2 \, \sqrt{e x^{2} + d} \sqrt{d} + 2 \, d}{x^{2}}\right ) -{\left (9 \,{\left (b e^{2} n - 5 \, a e^{2}\right )} x^{4} + 94 \, b d^{2} n - 120 \, a d^{2} -{\left (17 \, b d e n - 60 \, a d e\right )} x^{2} - 15 \,{\left (3 \, b e^{2} x^{4} - 4 \, b d e x^{2} + 8 \, b d^{2}\right )} \log \left (c\right ) - 15 \,{\left (3 \, b e^{2} n x^{4} - 4 \, b d e n x^{2} + 8 \, b d^{2} n\right )} \log \left (x\right )\right )} \sqrt{e x^{2} + d}}{225 \, e^{3}}, -\frac{120 \, b \sqrt{-d} d^{2} n \arctan \left (\frac{\sqrt{-d}}{\sqrt{e x^{2} + d}}\right ) +{\left (9 \,{\left (b e^{2} n - 5 \, a e^{2}\right )} x^{4} + 94 \, b d^{2} n - 120 \, a d^{2} -{\left (17 \, b d e n - 60 \, a d e\right )} x^{2} - 15 \,{\left (3 \, b e^{2} x^{4} - 4 \, b d e x^{2} + 8 \, b d^{2}\right )} \log \left (c\right ) - 15 \,{\left (3 \, b e^{2} n x^{4} - 4 \, b d e n x^{2} + 8 \, b d^{2} n\right )} \log \left (x\right )\right )} \sqrt{e x^{2} + d}}{225 \, e^{3}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{5} \left (a + b \log{\left (c x^{n} \right )}\right )}{\sqrt{d + e x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left (c x^{n}\right ) + a\right )} x^{5}}{\sqrt{e x^{2} + d}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]